/* D:\ICADDEV\PRJ\ICAD\MTEXTPROPERTIESTAB.H
 * Copyright (C) 1997-1999 DIMINE Co.LTD. All rights reserved.
 * 
 * $Revision: 1.1.1.1 $ $Date: 2010/03/03 02:57:12 $ 
 * 
 * Abstract
 * 
 * <TODO : Add Abstract here>
 * 
 */ 

#if !defined(AFX_MTEXTPROPERTIESTAB_H__72621C92_0E07_11D3_BE92_00C04F990354__INCLUDED_)
#define AFX_MTEXTPROPERTIESTAB_H__72621C92_0E07_11D3_BE92_00C04F990354__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MTextPropertiesTab.h : header file
#include "resource.h"
//
#include "MTextStyleBox.h"

/////////////////////////////////////////////////////////////////////////////
// MTextPropertiesTab dialog

class MTextPropertiesTab : public CBCGPPropertyPage
{
	DECLARE_DYNCREATE(MTextPropertiesTab)

// Construction
public:
	MTextPropertiesTab();
	~MTextPropertiesTab();

// Dialog Data
	//{{AFX_DATA(MTextPropertiesTab)
	enum { IDD = MTEXT_PROPERTIES };
	MTextStyleBox	m_cstyle;
	CComboBox	m_cwidth;
	CComboBox	m_crotate;
	CComboBox	m_cjust;
	CString	m_rotation;
	CString	m_style;
	CString	m_width;
	int		m_justification;
	//}}AFX_DATA

	void UpdateStyle();
	void UpdateJustification();
	void AddFontName();


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(MTextPropertiesTab)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(MTextPropertiesTab)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelendokJustification();
	afx_msg void OnSelendokRotation();
	afx_msg void OnSelendokStyle();
	afx_msg void OnSelendokWidth();
	afx_msg void OnKillfocusRotation();
	afx_msg void OnKillfocusWidth();
	//}}AFX_MSG

	void FillCombo();
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MTEXTPROPERTIESTAB_H__72621C92_0E07_11D3_BE92_00C04F990354__INCLUDED_)


